.class public abstract Les/tw;
.super Ljava/lang/Object;
.source "BaseFolderChooser.java"

# interfaces
.implements Les/uw;


# instance fields
.field private final a:Lcom/estrongs/android/view/FileGridViewWrapper;

.field protected b:I

.field private final c:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field

.field private final d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/estrongs/android/view/FileGridViewWrapper;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/tw;->c:Ljava/util/List;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/tw;->d:Ljava/util/List;

    .line 4
    iput-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    return-void
.end method

.method private d(I)Ljava/util/HashSet;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/HashSet<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 5
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object v0

    .line 6
    invoke-virtual {v0, p1}, Les/l30;->a(I)Ljava/util/ArrayList;

    move-result-object p1

    .line 7
    new-instance v0, Ljava/util/HashSet;

    invoke-direct {v0}, Ljava/util/HashSet;-><init>()V

    .line 8
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/o30;

    .line 9
    iget-object v1, v1, Les/o30;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method private d(Ljava/util/List;)V
    .locals 1
    .param p1    # Ljava/util/List;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation build Landroidx/annotation/MainThread;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->I()V

    .line 2
    iget-object v0, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 3
    iget-object v0, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 4
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->d(Ljava/util/List;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/widget/TextView;)V
    .locals 1

    const v0, 0x7f11046c

    .line 49
    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(I)V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/autobackup/activity/a;)V
    .locals 1
    .param p1    # Lcom/estrongs/android/ui/autobackup/activity/a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 50
    iget-object v0, p0, Les/tw;->c:Ljava/util/List;

    iput-object v0, p1, Lcom/estrongs/android/ui/autobackup/activity/a;->a:Ljava/util/List;

    .line 51
    iget-object v0, p0, Les/tw;->d:Ljava/util/List;

    iput-object v0, p1, Lcom/estrongs/android/ui/autobackup/activity/a;->b:Ljava/util/List;

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FileGridViewWrapper$DetailItemViewHolder;I)V
    .locals 0

    return-void
.end method

.method protected a(Lcom/estrongs/fs/g;)V
    .locals 0

    return-void
.end method

.method public synthetic a(Ljava/lang/String;)V
    .locals 6

    .line 1
    :try_start_0
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/fs/f;->n(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 2
    :catch_0
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    :goto_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 4
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 5
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 6
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 7
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->c1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_1

    .line 8
    :cond_0
    invoke-virtual {v0, v2}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    const/4 v4, 0x1

    const-string v5, "item_count"

    if-eqz v3, :cond_1

    .line 9
    invoke-virtual {v0, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/m;

    .line 10
    invoke-virtual {v2, v5}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    add-int/2addr v3, v4

    .line 11
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v5, v3}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 12
    :cond_1
    new-instance v3, Lcom/estrongs/fs/m;

    invoke-direct {v3, v2}, Lcom/estrongs/fs/m;-><init>(Ljava/lang/String;)V

    .line 13
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v3, v5, v4}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 14
    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 15
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 16
    invoke-virtual {p0, v3}, Les/tw;->a(Lcom/estrongs/fs/g;)V

    goto :goto_1

    .line 17
    :cond_2
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->b0()Les/q70;

    move-result-object p1

    invoke-static {v1, p1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 18
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object p1

    new-instance v0, Les/pw;

    invoke-direct {v0, p0, v1}, Les/pw;-><init>(Les/tw;Ljava/util/List;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    return-void
.end method

.method protected a(Ljava/util/List;I)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;I)V"
        }
    .end annotation

    .line 32
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Z)V

    .line 33
    invoke-direct {p0, p2}, Les/tw;->d(I)Ljava/util/HashSet;

    move-result-object p2

    .line 34
    invoke-virtual {p2}, Ljava/util/HashSet;->size()I

    move-result v0

    iput v0, p0, Les/tw;->b:I

    .line 35
    invoke-static {}, Lcom/estrongs/android/ui/autobackup/activity/a;->b()Lcom/estrongs/android/ui/autobackup/activity/a;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 36
    iget-object v1, v0, Lcom/estrongs/android/ui/autobackup/activity/a;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 37
    iget-object v3, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 38
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 39
    :cond_0
    iget-object v1, v0, Lcom/estrongs/android/ui/autobackup/activity/a;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    .line 40
    iget-object v1, v0, Lcom/estrongs/android/ui/autobackup/activity/a;->a:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 41
    iget-object v3, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 42
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z

    goto :goto_1

    .line 43
    :cond_1
    iget-object v0, v0, Lcom/estrongs/android/ui/autobackup/activity/a;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_2
    const/4 v0, 0x0

    .line 44
    :goto_2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_4

    .line 45
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v1}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 46
    iget-object v1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i(I)V

    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_4
    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 47
    iget-object p1, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->clear()V

    .line 48
    iget-object p1, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->clear()V

    return-void
.end method

.method public a(I)Z
    .locals 2

    .line 31
    iget-object v0, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget v1, p0, Les/tw;->b:I

    add-int/2addr v0, v1

    iget-object v1, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    sub-int/2addr v0, v1

    if-lt v0, p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method protected a(II)Z
    .locals 4

    .line 21
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_0

    .line 22
    invoke-virtual {p0, p2}, Les/tw;->a(I)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 23
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f1101a5

    new-array v3, v2, [Ljava/lang/Object;

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v3, v1

    invoke-virtual {p1, v0, v3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;)V

    return v2

    .line 24
    :cond_0
    iget-object p2, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p()Ljava/util/List;

    move-result-object p2

    invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    .line 25
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->c1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_1

    const p1, 0x7f110774

    .line 26
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    return v2

    :cond_1
    if-eqz v0, :cond_2

    .line 27
    iget-object p2, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_3

    .line 28
    iget-object p2, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 29
    :cond_2
    iget-object p2, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_3

    .line 30
    iget-object p2, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    :goto_0
    return v1
.end method

.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method

.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;IZZ)Z
    .locals 0

    const/4 p1, 0x5

    .line 19
    invoke-virtual {p0, p1, p3}, Les/tw;->b(II)V

    const/4 p1, 0x1

    return p1
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)Z
    .locals 0

    const/4 p1, 0x5

    .line 20
    invoke-virtual {p0, p2, p1}, Les/tw;->a(II)Z

    move-result p1

    return p1
.end method

.method protected b(I)V
    .locals 4

    .line 12
    new-instance v0, Les/o30;

    invoke-direct {v0}, Les/o30;-><init>()V

    .line 13
    iget-object v1, p0, Les/tw;->c:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 14
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Les/o30;->b:Ljava/lang/String;

    .line 15
    iput p1, v0, Les/o30;->a:I

    .line 16
    iget-object v2, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v2}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object v2

    invoke-virtual {v2, v0}, Les/l30;->a(Les/o30;)Z

    .line 17
    iget v2, p0, Les/tw;->b:I

    add-int/lit8 v2, v2, -0x1

    iput v2, p0, Les/tw;->b:I

    goto :goto_0

    .line 18
    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 19
    iget-object v1, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 20
    new-instance v3, Les/o30;

    invoke-direct {v3}, Les/o30;-><init>()V

    .line 21
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v3, Les/o30;->b:Ljava/lang/String;

    .line 22
    iput p1, v3, Les/o30;->a:I

    .line 23
    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 24
    iget v2, p0, Les/tw;->b:I

    add-int/lit8 v2, v2, 0x1

    iput v2, p0, Les/tw;->b:I

    goto :goto_1

    .line 25
    :cond_1
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Les/l30;->a(Landroid/content/Context;)Les/l30;

    move-result-object p1

    invoke-virtual {p1, v0}, Les/l30;->a(Ljava/util/ArrayList;)Z

    .line 26
    iget p1, p0, Les/tw;->b:I

    invoke-virtual {p0, p1}, Les/tw;->c(I)V

    .line 27
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->h()Landroid/app/Activity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method protected b(II)V
    .locals 3

    .line 3
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->E()Z

    move-result v0

    if-nez v0, :cond_3

    .line 4
    invoke-virtual {p0, p1}, Les/tw;->a(I)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    .line 5
    iget-object p2, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p2}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f1101a5

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v1, v2

    invoke-virtual {p2, v0, v1}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;)V

    return-void

    .line 6
    :cond_0
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    if-nez p1, :cond_1

    return-void

    .line 7
    :cond_1
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->c1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const p1, 0x7f110774

    .line 8
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    return-void

    .line 9
    :cond_2
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Z)V

    .line 10
    iget-object v0, p0, Les/tw;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 11
    iget-object p1, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i(I)V

    :cond_3
    return-void
.end method

.method protected b(Ljava/lang/String;)V
    .locals 1

    .line 1
    new-instance v0, Les/qw;

    invoke-direct {v0, p0, p1}, Les/qw;-><init>(Les/tw;Ljava/lang/String;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public synthetic b(Ljava/util/List;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Les/tw;->d(Ljava/util/List;)V

    return-void
.end method

.method final c(I)V
    .locals 3

    .line 1
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->h()Landroid/app/Activity;

    move-result-object v0

    .line 2
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string v2, "extra_folder_count"

    .line 3
    invoke-virtual {v1, v2, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/4 p1, -0x1

    .line 4
    invoke-virtual {v0, p1, v1}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    return-void
.end method

.method public f()V
    .locals 6

    .line 1
    iget-object v0, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    check-cast v0, Lcom/estrongs/android/view/p;

    invoke-interface {v0}, Lcom/estrongs/android/view/p;->e()Landroid/widget/TextView;

    move-result-object v0

    const/4 v1, 0x1

    .line 2
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 3
    iget-object v2, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y()I

    move-result v2

    const/4 v3, 0x0

    if-nez v2, :cond_0

    const v1, 0x7f110160

    .line 4
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 5
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_0

    .line 6
    :cond_0
    iget-object v2, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v2}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v2

    const v4, 0x7f1102a0

    new-array v1, v1, [Ljava/lang/Object;

    iget-object v5, p0, Les/tw;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 7
    invoke-virtual {v5}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y()I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v1, v3

    .line 8
    invoke-virtual {v2, v4, v1}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void
.end method

.method public onBackPressed()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method
